package com.ideal.license.core.model;

import java.util.Date;

public class LicenseModel {
    private String alias;
    private String keyPass;
    private String keyAlg;
    private String storePass;
    private String licPath;
    private String priPath;
    private String subject;
    private Date issued;
    private String notBefore;
    private String notAfter;
    private String consumerType;
    private Integer consumerAmount;
    private String edition;
    private String info;
    private BaseComputerModel baseComputerModel;

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getKeyPass() {
        return keyPass;
    }

    public void setKeyPass(String keyPass) {
        this.keyPass = keyPass;
    }

    public String getKeyAlg() {
        return keyAlg;
    }

    public void setKeyAlg(String keyAlg) {
        this.keyAlg = keyAlg;
    }

    public String getStorePass() {
        return storePass;
    }

    public void setStorePass(String storePass) {
        this.storePass = storePass;
    }

    public String getLicPath() {
        return licPath;
    }

    public void setLicPath(String licPath) {
        this.licPath = licPath;
    }

    public String getPriPath() {
        return priPath;
    }

    public void setPriPath(String priPath) {
        this.priPath = priPath;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getNotBefore() {
        return notBefore;
    }

    public void setNotBefore(String notBefore) {
        this.notBefore = notBefore;
    }

    public String getNotAfter() {
        return notAfter;
    }

    public void setNotAfter(String notAfter) {
        this.notAfter = notAfter;
    }

    public String getConsumerType() {
        return consumerType;
    }

    public void setConsumerType(String consumerType) {
        this.consumerType = consumerType;
    }

    public Integer getConsumerAmount() {
        return consumerAmount;
    }

    public void setConsumerAmount(Integer consumerAmount) {
        this.consumerAmount = consumerAmount;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getIssued() {
        return new Date();
    }

    public BaseComputerModel getBaseComputerModel() {
        return baseComputerModel;
    }

    public void setBaseComputerModel(BaseComputerModel baseComputerModel) {
        this.baseComputerModel = baseComputerModel;
    }

    public String getEdition() {
        return edition;
    }

    public void setEdition(String edition) {
        this.edition = edition;
    }
}
